//
//  AddressModel.swift
//  CJXSwiftStoryboard
//
//  Created by CJX on 2016/10/25.
//  Copyright © 2016年 caijianxi. All rights reserved.
//

import UIKit

class AddressModel: NSObject {

    var city : String?
    var lastname : String?
    var firstname : String?
    var street_address : String?
    var postcode : String?
    var country_name : String?
    var country_id : String?
    var telephone : String?
    var address_book_id : String?
    var state : String?
    
    
    
    init(dictionary:NSDictionary){
        
        city = dictionary["city"] as? String
        lastname = dictionary["lastname"] as? String
        firstname = dictionary["firstname"] as? String
        street_address = dictionary["street_address"]as?String
        postcode = dictionary["postcode"]as?String
        country_name = dictionary["country_name"]as?String
        country_id = dictionary["country_id"]as?String
        telephone = dictionary["telephone"]as?String
        address_book_id = dictionary["address_book_id"]as?String
        state = dictionary["state"]as?String
    }
    
}
